package cn.org.xuanguang.kepler.hormos.rdb.jpa;

import cn.org.xuanguang.kepler.hormos.rdb.jpa.generation.JPAProvider;

public class KeplerUpdateProvider<T> implements JPAProvider<T> {

    private Class<T> type;

    public KeplerUpdateProvider(Class<T> type) {
        this.type = type;
    }

    @Override
    public T getValue() {
        //判断T的类型，是否是String
        if (type == String.class) {
            return (T) "KeplerUpdateProvider";
        }
        return null;
    }

}
